home *** CD-ROM | disk | FTP | other *** search
- on startMovieQT qTFile
-
- -- Set all global definitions
- global qtChan --Dir channel for screen object
- global DEBUG
-
- -- If other QT sounds are playing, lower them. Added by Ben 20-Aug
- -- See VOX code and object
- lowerQTSnd() -- Routine from VOX code
-
- set DEBUG = 0
-
- set qtChan = 4
-
- -- Disallow an exit via cmd-. cmd-q, forcing usage of "get back"
- -- button. In play mode of Dir4, this does not effect cmd-., and the use
- -- of the button quits the play mode AND Dir itself.
- --set the exitLock to TRUE
-
- startMovieQTm qTFile
-
- end startMovieQT
-
- ------------------------------------------------------------------------
-
- on startMovieQTm qTFile
-
- -- Start movie
-
- global gPlayBtnSprite
- global DEBUG
-
- set DEBUG = 0
-
- set movieName = the pathName & qTFile
-
- -- Set duration of movie & thumb locations
- if (gPlayBtnSprite) then
- setUpThumb
- end if
-
- -- disable Dir looping, since that causes a Dir update
- -- if we ever need to leave this frame, use the "continue" command
- pause
-
- end startMovieQTm
-
- ------------------------------------------------------------------------
-
- on stopMovieQT
- global DEBUG
-
- -- If other QT sounds were playing, now raise them. Added by Ben 20-Aug
- -- See VOX code and object
- raiseQTSnd() -- Routine from VOX code
-
- end stopMovieQT
-